#include <stdio.h>
#include <string.h>
#include <stdlib.h>

enum WEEk
{
    mon,
    tue,
    wed,
    thu,
    fri,
    sat,
    sun
};

enum Test
{
    a,//0
    b,//1
    c,//2
    d,//3
    e,//4
    f,//4
    g //5
};

enum Test1
{
    ua,//0
    ub,//1
    uc=11,//11
    ud,//12
    ue,//13
    uf=33,//33
    ug //34
};

/*
enum 名称
{
    枚举元素0，
    枚举元素1，
    ...
    枚举元素n
}
*/
int main()
{
    enum WEEk week;
    week=tue;
    printf("week-%d\n",week);

    enum Test1 test1;
    test1=ue;
    printf("test1-%d\n",test1);
    //system("pause");
	return 0;
} 
